let removeConsolePlugin = []
if (process.env.NODE_ENV === 'production') {
  removeConsolePlugin = ['transform-remove-console']
}
module.exports = {
  presets: [
    '@vue/app'
  ],
  plugins: [
    ...removeConsolePlugin,
    ['import', {
      libraryName: 'vant',
      libraryDirectory: 'es',
      style: true
    }, 'vant']
  ]
} 